﻿using System;

namespace X23.Model
{
    public interface IEntity<TKey>
    {
        TKey Id { get; set; }
    }
    public interface IAuditedEntity
    {
        string CreateBy { get; set; }

        DateTime CreateTime { get; set; }

        string UpdateBy { get; set; }

        DateTime UpdateTime { get; set; }
    }
    public interface IRemarkEntity
    {
        string Remark { get; set; }

    }
    public interface IDeleteEntity
    {
        bool IsDelete { get; set; }

    }
    public class BaseEntity<TKey> : IEntity<TKey>
    {
        public TKey Id { get; set; }
    }
}
